package com.qf.dao;

import com.qf.entity.Order;

import java.util.List;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.dao
 * @description: ${TODO}
 * @date 2022/6/27 9:28
 */
public interface OrderDao {
    void insert(Order order);

    void updateStatus(String oid, String status);

    List<Order> selectByUid(int uid);

    Order selectByOid(String oid);

    List<Order> selectAll();

    List<Order> selectByWhere(String where, List<Object> params);
}
